home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / tex / lindner / hp_iv.lzh / ATARI.MF next >
Encoding:
Text File  |  1993-03-23  |  7.3 KB  |  161 lines

  1. % ATARI.MF by Lutz Birkhahn, August 13, 1988.
  2. %
  3. % A file to be loaded after "plain.mf". It defines the parameters for some
  4. % printers that are often used with the Atari ST. Many thanks to Stefan Lind-
  5. % ner and many others, who provided me with so many mode_defs. I would never
  6. % have been able to design them all by myself.
  7.  
  8. base_version:=base_version&"/Atari ST";
  9.  
  10. screen_rows:=400; screen_cols:=640;
  11.  
  12. % stscreen mode: for the ATARI ST `high resolution' screen SM124
  13. mode_def stscreen =  %
  14.  proofing:=0;           % no, we're not making proofs
  15.  fontmaking:=1;         % yes, we are making a font
  16.  tracingtitles:=0;      % no, don't show titles in the log
  17.  pixels_per_inch:=101;
  18.  blacker:=0;            % don't add any "blackness" to pens
  19.  fillin:=0;             % and compensate for fillin
  20.  o_correction:=.4;      % but don't overshoot as much
  21.  enddef;
  22.  
  23. % stlaser mode: to generate fonts for the Atari ST laser printer SLM804
  24. mode_def stlaser =
  25.  proofing:=0;                  % no, we're not making proofs
  26.  fontmaking:=1;                % yes, we are making a font
  27.  tracingtitles:=0;             % no, don't show titles at all
  28.  pixels_per_inch:=300;         % that's pretty low resolution
  29.  blacker:=-.25;                % less blackness
  30.  fillin:=.5;                   % compensate for diagonal fillin
  31.  o_correction:=0;              % no overshoot
  32.  write_white_engine:=true;     % You have to use the modified PLAIN.MF V1.0a
  33.                                % and the corresponding CMBASE.MF, which has
  34.                                % to be modified according to TUGboat 1/1987
  35.  enddef;
  36.  
  37. % FAX mode: to generate fonts for fax(200 dpi)
  38. mode_def fax =
  39.  proofing:=0;                  % no, we're not making proofs
  40.  fontmaking:=1;                % yes, we are making a font
  41.  tracingtitles:=0;             % no, don't show titles at all
  42.  pixels_per_inch:=200;         % that's pretty low resolution
  43.  blacker:=0.65;                %
  44.  fillin:=.2;                   % compensate for diagonal fillin
  45.  o_correction:=.4;             % but don't overshoot as much
  46.  enddef;
  47.  
  48. % stlaseralter mode: alternate mode_def for problem fonts on the SLM804.
  49. % Use this one if you get a lot of "bad penpos" or "strange path" errors
  50. % from METAFONT. These error messages are due to the negative value of
  51. % blacker, which is discouraged by Don Knuth, but looks best (in my opinion)
  52. % on the Atari laser printer and probably some other write-white lasers.
  53. mode_def stlaseralter =
  54.  stlaser_;                     % same as stlaser mode, except:
  55.  blacker:=0;                   % "normal blackness"
  56.  enddef;
  57.  
  58. % Star NL-10 mode: to generate fonts for the star NL-10 printer
  59. mode_def starnl =
  60.  proofing:=0;                  % no, we're not making proofs
  61.  fontmaking:=1;                % yes, we are making a font
  62.  tracingtitles:=0;             % no, don't show titles at all
  63.  pixels_per_inch:=240;         % that's pretty low resolution
  64.  blacker:=-0.6;
  65.  fillin:=0.2;                  % compensate for diagonal fillin
  66.  o_correction:=.4;             % but don't overshoot as much
  67.  aspect_ratio:=9/10;           % 240 x 216
  68.  enddef;
  69.  
  70. % The mode_def's for the NEC P6 are from Michael Mies (Germany)
  71. % psix_low mode: to generate fonts for the NEC P6 printer (180 dpi)
  72. mode_def psix_low =
  73.  proofing:=0;                  % no, we're not making proofs
  74.  fontmaking:=1;                % yes, we are making a font
  75.  tracingtitles:=0;             % no, don't show titles at all
  76.  pixels_per_inch:=180;
  77.  blacker:=0.1;                 % a little bit more blackness
  78.  fillin:=.2;                   % compensate for diagonal fillin
  79.  o_correction:=.6;             % but don't overshoot as much
  80.  enddef;
  81.  
  82. % psix_high mode: to generate fonts for the NEC P6 printer (360 dpi)
  83. mode_def psix_high =
  84.  proofing:=0;                  % no, we're not making proofs
  85.  fontmaking:=1;                % yes, we are making a font
  86.  tracingtitles:=0;             % no, don't show titles at all
  87.  pixels_per_inch:=360;
  88.  blacker:=-.75;                % less blackness
  89.  fillin:=.2;                   % compensate for diagonal fillin
  90.  o_correction:=.75;            % nearly full overshoot
  91.  enddef;
  92.  
  93. % epson_lq_med mode: to generate fonts for the Epson LQ800 printer (360x180 dpi)
  94. mode_def epson_lq_med =
  95.  proofing:=0;                  % no, we're not making proofs
  96.  fontmaking:=1;                % yes, we are making a font
  97.  tracingtitles:=0;             % no, don't show titles at all
  98.  pixels_per_inch:=360;
  99.  blacker:=0;                   % no additional blackness
  100.  fillin:=.2;                   % compensate for diagonal fillin
  101.  o_correction:=.6;             % but don't overshoot as much
  102.  aspect_ratio:=1/2;            % 360 x 180 dpi
  103.  enddef;
  104.  
  105. % epsonmx mode: to generate fonts for the Epson MX82 FT printer
  106. mode_def epsonmx =
  107.  proofing:=0;                  % no, we're not making proofs
  108.  fontmaking:=1;                % yes, we are making a font
  109.  tracingtitles:=0;             % no, don't show titles at all
  110.  pixels_per_inch:=120;
  111.  blacker:=0;                   % no additional blackness
  112.  fillin:=0;                    % no compensation for fillin
  113.  o_correction:=0;              % don't overshoot
  114.  aspect_ratio:=9/5;            % 120 x 216 dpi
  115.  enddef;
  116.  
  117. % epsonfx mode: to generate fonts for the Epson FX-80 printer
  118. mode_def epsonfx =
  119.  proofing:=0;                  % no, we're not making proofs
  120.  fontmaking:=1;                % yes, we are making a font
  121.  tracingtitles:=0;             % no, don't show titles at all
  122.  pixels_per_inch:=240;
  123.  blacker:=0;                   % no additional blackness
  124.  fillin:=0;                    % no compensation for fillin
  125.  o_correction:=.2;             % don't overshoot as much
  126.  aspect_ratio:=216/240;        % 240 x 216 dpi
  127.  enddef;
  128.  
  129. % hp_laserjet mode: to generate fonts for the HP-Laserjet printer
  130. % CAUTION: this is a preliminary mode_def, for testing only. The setting of
  131. % write_white_engine is probably wrong, cause the HP Laserjet (without "plus")
  132. % is a write-black engine, I think. Any suggestions are welcome!
  133. mode_def hp_laserjet =
  134.  proofing:=0;                  % no, we're not making proofs
  135.  fontmaking:=1;                % yes, we are making a font
  136.  tracingtitles:=0;             % no, don't show titles at all
  137.  pixels_per_inch:=300;
  138.  blacker:=-.10;                % less blackness
  139.  fillin:=.5;                   % compensate for diagonal fillin
  140.  o_correction:=0;              % no overshoot
  141.  write_white_engine:=true;     % You have to use the modified PLAIN.MF V1.0a
  142.                                % and the corresponding CMBASE.MF, which has
  143.                                % to be modified according to TUGboat 1/1987)
  144.  enddef;
  145.  
  146. mode_def laser_high =
  147.  proofing:=0;                  % no, we're not making proofs
  148.  fontmaking:=1;                % yes, we are making a font
  149.  tracingtitles:=0;             % no, don't show titles at all
  150.  pixels_per_inch:=600;
  151.  blacker:=0;                % less blackness
  152.  fillin:=.5;                   % compensate for diagonal fillin
  153.  o_correction:=0;              % no overshoot
  154.  write_white_engine:=true;     % You have to use the modified PLAIN.MF V1.0a
  155.                                % and the corresponding CMBASE.MF, which has
  156.                                % to be modified according to TUGboat 1/1987)
  157.  enddef;
  158.  
  159. localfont:=stscreen;     % the mode most commonly used to make fonts
  160.  
  161.